let arr2 = new Array(3)
arr2[0] = 1
arr2[1] = 2
arr2[2] = 3

// 使用字面量-略快
let arr = [1, 2, 3]